# Aliases related to git:

alias a='git gui' # This alias has been defined in zsh git plugin.
alias amsp="\
    git submodule update --remote --recursive && \
    git add --all && \
    git commit -m 'Update submodules' && \
    git push \
"
alias amp="git add --all && git commit -m 'update' && git push"
alias gpm="gp && gco master && gm ganx && gp && gco ganx && amsp && gco master && amsp && gco ganx"
# Aliases related to latex:

alias tl="\
    python3 \
    /usr/local/texlive/2021/texmf-dist/scripts/texliveonfly/texliveonfly.py \
    --compiler=lualatex \
"
alias tp="\
    python3 \
    /usr/local/texlive/2021/texmf-dist/scripts/texliveonfly/texliveonfly.py \
    --compiler=pdflatex \
"
alias tx="python3 \
    /usr/local/texlive/2021/texmf-dist/scripts/texliveonfly/texliveonfly.py \
    --compiler=xelatex \
"
